package exceptions;

import java.util.LinkedList;

public class GameOverException extends Exception {
	
	private boolean result;
	private LinkedList<Integer> sequence;

	public GameOverException(boolean result) {
		this.result = result;
	}
	
	public boolean getResult() {
		// True if black wins
		return this.result;
	}
	
	public void setSequence(LinkedList<Integer> seq) {
		this.sequence = seq;
	}
	
	public LinkedList<Integer> getSequence() {
		return this.sequence;
	}
}
